package com.epmis.epmis.utils;

import lombok.Data;

import java.util.Date;

@Data
public class RestResponse<T> {
    public static final String SUCCESS_MSG = "操作成功";
    public static final String FAILURE_MSG = "操作失败";
    public static final Integer SUCCESS_CODE = 0;
    public static final Integer FAILURE_CODE = 300;

    private Integer code;
    public String Ecode;
    public long date;
    public boolean status;

    private String msg;
    private T data;
}
